#include "Common10R3.h"

CCommon10R3::CCommon10R3()
{
	 m_Win10Func = (NtConvertBetweenAuxiliaryCounterAndPerformanceCounterProc)GetProcAddress(GetModuleHandleA("ntdll.dll"), "NtConvertBetweenAuxiliaryCounterAndPerformanceCounter");

	 if (m_Win10Func == NULL)
	 {
		 ::MessageBoxA(NULL, "Get Win10CommonFunc Error!", NULL, NULL);
	 }

	
}

CCommon10R3::~CCommon10R3()
{

}

void CCommon10R3::SendDate(PVOID buf, DWORD bufLen)
{
	ULONG64 date = (ULONG64)buf;
	ULONG64 un = 0;
	m_Win10Func(0, &date, &un, 0);
}
